package com.dlx.model.house;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dlx.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;

@Data
@ApiModel(description = "房屋信息")
@TableName("house_info")
public class HouseInfo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("房屋编号")
    @TableField("house_code")
    private String houseCode;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private long userId;

    @ApiModelProperty("房屋描述")
    @TableField("house_desc")
    private String houseDesc;

    @ApiModelProperty("房屋类型")
    @TableField("house_model")
    private String houseModel;

    @ApiModelProperty("房屋面积")
    @TableField("house_area")
    private String houseArea;

    @ApiModelProperty("房屋楼层")
    @TableField("house_floor")
    private String houseFloor;

    @ApiModelProperty("出租类型")
    @TableField("house_type")
    private String houseType;

    @ApiModelProperty("出租价格")
    @TableField("house_price")
    private long housePrice;

    @ApiModelProperty("出租状态")
    @TableField("house_status")
    private Integer houseStatus;

    @ApiModelProperty("省code")
    @TableField("province_code")
    private String provinceCode;

    @ApiModelProperty("市code")
    @TableField("city_code")
    private String cityCode;

    @ApiModelProperty("区code")
    @TableField("district_code")
    private String districtCode;

    @ApiModelProperty("房屋社区")
    @TableField("house_community")
    private String houseCommunity;

    @ApiModelProperty("房屋地址")
    @TableField("house_address")
    private String houseAddress;

    @ApiModelProperty("房屋预览图")
    @TableField("house_image")
    private String houseImage;

    @ApiModelProperty("房屋联系电话")
    @TableField("house_linkman")
    private String houseLinkman;

    @ApiModelProperty("房屋朝向")
    @TableField("house_oriented")
    private String houseOriented;

    @ApiModelProperty("房屋详细页面展示图片")
    @TableField("house_detailes_img")
    private String houseDetailesImg;

}
